<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:import href="../xsl/includes/head.xsl"/>
  <xsl:import href="../xsl/includes/menu.xsl"/>
  <xsl:import href="Content.xsl"/>
  <xsl:param name="administracion">false</xsl:param>
  <xsl:param name="isHome">false</xsl:param>
  <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" indent="yes" />
  
  <xsl:template match="/MiWebSitePage">
  
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><xsl:value-of select="@Title"/></title>
    <xsl:call-template name="includesHead">
    	<xsl:with-param name="administracion" select="$administracion"/>
    </xsl:call-template>
      <link href="/skin/css/favicon.ico" rel="shortcut icon" type="image/x-icon"/>
      <link href="/skin/css/favicon.ico" rel="icon" type="image/x-icon"/>
      <link href="/skin/css/reset.css" rel="stylesheet" type="text/css" />
      <link href="/skin/css/text.css" rel="stylesheet" type="text/css" />
      <link href="/skin/css/960_24_col.css" rel="stylesheet" type="text/css" />
      <link href="/skin/css/menu.css" rel="stylesheet" type="text/css" />
      <link href="/skin/css/menu.css" rel="stylesheet" type="text/css" />
      <link href="/skin/css/style.css" rel="stylesheet" type="text/css" />
      <xsl:value-of select="Estadisticas" disable-output-escaping="yes"/>
    </head>
    <!--<xsl:value-of select="Estadisticas"/><xsl:value-of select="@includes"/>-->
    <body>
    <div id="OutContainer" class="container_24">
      <div id="PageHeader" class="grid_24"> <a href="/">
        <h1><img src="/skin/images/logo wlm.png"/>Mi Web Site</h1>
        </a>
        <div id="navigation">
          <ul id="MainMenu">
            <xsl:apply-templates select="Navigation"/>
            
          </ul>
        </div>
      </div>

      <xsl:if test="$isHome='true'">
      <div class="grid_24">
        CONTENIDO FIJO DE PORTADA
      </div>
      </xsl:if>
      <div id="ContentBody" class="grid_24">
        <div id="SideMenu" class="grid_6 alpha">
          <div id="SideContent"> Menu Lateral </div>
        </div>
        <div id="MainContainer" class="grid_18 omega" style="display:table;">
          <xsl:value-of select="Content" disable-output-escaping="yes"/>
          <xsl:if test="$isHome='true'">
            <xsl:apply-templates select="Contenido/Portada/MiWebSiteContent"/>
          </xsl:if>
          <xsl:apply-templates select="Contenido/MiWebSiteContent"/>
          <!--<xsl:value-of select="Content" disable-output-escaping="yes"/> --></div>
      </div>
      <div id="PageFooter" class="grid_24"> Footer  Usuario Logeado:<xsl:value-of select="$administracion"/> ;</div>
      <!--<script src="http://173.192.147.4/wlm/wlmBrand.js" type="text/javascript"></script>--> 
    </div>
    </body>
    </html>
  </xsl:template>
</xsl:stylesheet>